package cn.group.domain;

import java.io.Serializable;
import java.util.Date;

public class TeachInfo  implements Serializable {
    private Teacher teacher;
    private Course course;
    private Room room;
    private Date date;
    private int id;

    public TeachInfo() {
    }

    public TeachInfo(Teacher teacher, Course course, Room room, Date date, int id) {
        this.teacher = teacher;
        this.course = course;
        this.room = room;
        this.date = date;
        this.id = id;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public Room getRoom() {
        return room;
    }

    public void setRoom(Room room) {
        this.room = room;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "TeachInfo{" +
                "teacher=" + teacher +
                ", course=" + course +
                ", room=" + room +
                ", date=" + date +
                ", id=" + id +
                '}';
    }
}
